package com.zytlifeservice.repository.pay;

import com.zytlifeservice.domain.pay.AirplaneRechargeOrder;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by MJS on 2017/6/27.
 */
public interface AirplaneRechargeOrderRepository extends JpaRepository<AirplaneRechargeOrder,Long>{
    public AirplaneRechargeOrder findByTradeNo(String tradeNo);

    public AirplaneRechargeOrder findByOutTradeNo(String outTradeNo);

    public AirplaneRechargeOrder findByOutTradeNoAndUserId(String outTradeNo, long userId);
}

